<?php


namespace app\api\model;

use app\common\model\LotteryLog as LotteryLogModel;

class LotteryLog extends LotteryLogModel
{
    public function addLog(array $data)
    {
        $data['wxapp_id'] = static::$wxapp_id;
        $this->allowField(true)->save($data);
    }
}